package com.ruoyi.system.service;

import com.ruoyi.system.domain.JiajiaPointsFlow;

import java.math.BigDecimal;
import java.util.List;

/**
 * 项目积分流水Service接口
 * 
 * @author ruoyi
 * @date 2025-03-10
 */
public interface IJiajiaPointsFlowService 
{
    /**
     * 查询项目积分流水
     * 
     * @param id 项目积分流水主键
     * @return 项目积分流水
     */
    public JiajiaPointsFlow selectJiajiaPointsFlowById(Long id);

    public BigDecimal selectAvailablePoints();

    public BigDecimal selectUsedPoints();


    public BigDecimal selectTotalPoints();

    /**
     * 查询项目积分流水列表
     * 
     * @param jiajiaPointsFlow 项目积分流水
     * @return 项目积分流水集合
     */
    public List<JiajiaPointsFlow> selectJiajiaPointsFlowList(JiajiaPointsFlow jiajiaPointsFlow);

    /**
     * 新增项目积分流水
     * 
     * @param jiajiaPointsFlow 项目积分流水
     * @return 结果
     */
    public int insertJiajiaPointsFlow(JiajiaPointsFlow jiajiaPointsFlow);

    /**
     * 修改项目积分流水
     * 
     * @param jiajiaPointsFlow 项目积分流水
     * @return 结果
     */
    public int updateJiajiaPointsFlow(JiajiaPointsFlow jiajiaPointsFlow);

    /**
     * 批量删除项目积分流水
     * 
     * @param ids 需要删除的项目积分流水主键集合
     * @return 结果
     */
    public int deleteJiajiaPointsFlowByIds(String ids);

    /**
     * 删除项目积分流水信息
     * 
     * @param id 项目积分流水主键
     * @return 结果
     */
    public int deleteJiajiaPointsFlowById(Long id);

}
